Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


AcquireContainingFrame

The AcquireContainingFrame method returns a reference to a containing frame of this frame.

ODFrame AcquireContainingFrame ();
return value
A reference to a containing frame of this frame, or kODNULL if this frame is the root frame.
DISCUSSION
This method increments the reference count of the returned frame. When you have finished using that frame, you should call its Release method.

SEE ALSO
The ODFrame::SetContainingFrame method (page 332).
"Revealing the Source of a Link" on page 392 in OpenDoc Programmer's Guide.
Listing 2-26 on page 76 in OpenDoc Cookbook.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help